<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" id="vp" content="width=device-width, initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
		<title>通知</title>
		<link rel="stylesheet" type="text/css" href="../../css/style.css">
		<style type="text/css">
			[v-cloak] {
			   display: none;
			}
			#notice{
				background: #fff;
			}
			.notice-main{
				padding: 0.3rem;
				width:85%;
				margin:0 auto;
			}
		</style>
	</head>

	<body>
		<div id="notice" v-cloak>
			<div class="notice-main">
				<p class="noticTitle">{{item.notice_title}}</p>
				<p class="noticTime">发送时间: &nbsp;{{item.notice_time}}</p>
				<p class="noticContent">{{item.notice_content}}</p>
			</div>
		</div>
		<script src="../../js/app.js"></script>
		<script src="../../js/token.js"></script>
		<script src="../../js/rem.js"></script>
		<script src="../../js/mui.js"></script>
		<script src="../../js/vue.min.js"></script>
		<script>
			mui.init();
			var state = app.getState();
			var memberToken = state.memberToken
			mui.plusReady(function() {
				var self = plus.webview.currentWebview();
				var data = {
					uid: self.userid,
					id: self.noticeid,
					memberToken :memberToken
				};
				mui.post(Apiurl+'index/notice_info', data, function(data) {
					if(data && data.notice_time) { 
						notice.item = data;
					}
				}, 'json');
				var notice = new Vue({
					el: '#notice',
					data: {
						item: {} //列表信息流数据
					}
				});
			});
		</script>
	</body>

</html>